|
Move Mouse to Object |
Declaration |
<AMMOUSEMOVEOBJECT WINDOWTITLE="text" WINDOWCLASS="text" WINDOWHANDLE="number" OBJECTNAME="text" OBJECTCLASS="text" OBJECTVALUE="text" OBJECTTYPE="text" CHECKOBJECTNAME="yes/no" CHECKOBJECTCLASS="yes/no" CHECKOBJECTTYPE="yes/no"> |
See Also |
Moves the mouse pointer to the center of an object or control on a window such as a button, page tab, text box, link or column header. To select an object from an existing window, either use the "Browse..." button or drag the AutoMate icon to the area on the screen.
Used to move the mouse to a button, folder tab, page link or other control on an application Window or desktop. Using the Move mouse to Object action is superior to using the Mouse <AMMOUSE> (where it is able to be used) because it communicates with the target control natively and will continue to work even if the control is moved in subsequent sessions. The most common usage for the Move Mouse to Object action is to click the icons or applications running in the system tray (also known as tray applications) IMPORTANT: Only standard Windows controls will work with the Move Mouse to Object action, many applications use images or other controls that may act like windows controls but do not support the interfaces required to detect them - the Move Mouse to Object action will not work with these controls. In these cases other interactivity actions must be used such as Send Keystrokes <AMSENDKEY> or Mouse <AMMOUSE>.
Specifies the title of the Window that the control search should be restricted to. The value is case-insensitive. NOTE: A Window title is required because without this parameter the action would have to search every control of every single Window on the system which would take an unacceptable amount of time. This parameter supports wildcards (* and ?), for example "*Internet Explorer* would include all Windows containing that text. Note: If this parameter is left blank the action assumes it is searching for a Window title that is blank - to ignore the Window title, use *.
Specifies the class of the Window to act on. The value is case-insensitive. This parameter supports wildcards (* and ?), for example "*Internet Explorer* would include all Windows classes containing that text. Note: If this parameter is left blank the action assumes it is searching for a Window class that is blank - to ignore the Window class, use *.
Specifies the handle of the Window to act on. If set to 0 or omitted the parameter is ignored.
Specifies that the type parameter will be checked against the control when determining a matching control. When set to NO the type of the control is ignored.
Specifies the type of target control. The parameter is ignored if "Type must be" is set to NO.
Specifies that the class parameter will be checked against the control when determining a matching control. When set to NO the class of the control is ignored.
Specifies the class of the target control. The parameter is ignored if "Class Must be" is set to no. This parameter supports wildcards (* and ?), for example "*Internet Explorer* would include all Windows containing that text.
Specifies that the name parameter will be checked against the control when determining a matching control. When set to NO the name of the control is ignored.
Specifies the name of target control. The parameter is ignored if "Name must be" is set to NO. This parameter supports wildcards (* and ?), for example "*Internet Explorer* would include all Windows containing that text.
Specifies that the value parameter will be checked against the control when determining a matching control. When set to NO the value of the control is ignored.
Specifies the value of target control. The parameter is ignored if "Value must be" is set to NO. This parameter supports wildcards (* and ?), for example "*Internet Explorer* would include all Windows containing that text.
Specifies that the Position X and Position Y parameter will be checked against the position of the control when determining a matching control. When set to NO the position of the control is ignored. The X and Y coordinates specified are relative to the Window specified in the Window Title Parameter (not the screen).
Specifies the X coordinate position of the control relative to the Window specified in the Window Title Parameter. The parameter is ignored if "Position must be" is set to NO.
Specifies the Y coordinate position of the control relative to the Window specified in the Window Title Parameter. The parameter is ignored if "Position must be" is set to NO.
Window DissectionÖ Technology
This action contains a subset of Unisyn Software's unique "Window Dissection Technology". Click here for more information.
Standard Error Handling Options
This action also includes the standard "Error Causes" and "On
Error" failure handling options/tabs
More on Error Handling Options
Variables and Expressions
All text fields allow the use of expressions by surrounding the expression
in percentage signs (example: %MYVARIABLE%, %Left('Text',2)%). To help
construct these expressions, a popup expression builder is available in
all these fields by pressing F2.
More on variables...
More on expressions...
More on the expression builder...
<AMMOUSEMOVEOBJECT WINDOWTITLE="" OBJECTNAME="ICQ Online*" OBJECTCLASS="ToolbarWindow32" OBJECTTYPE="PushButton" CHECKOBJECTNAME="YES" CHECKOBJECTCLASS="YES" CHECKOBJECTTYPE="YES">